function WoWAssist:getGCD()
   local GCDStart = GetTime()
   local GCDDuration = GetTime()
   GCDStart, GCDDuration, _ = GetSpellCooldown("Basic Campfire")
   if (GCDStart ~= 0) then
      GCDTimeLeft = GCDStart + GCDDuration - GetTime()
   else
      GCDTimeLeft = 0
   end
   return GCDTimeLeft
end

function WoWAssist:getActualSpellCD(SpellCurrentCD, SpellName, GCD, TimeFactor)
	NewSpellCD = SpellCurrentCD

	SpellCDStart, SpellCDDuration, _ = GetSpellCooldown(SpellName)
	if (SpellCDStart ~= 0) then
		if (SpellCDDuration > GCD) then			-- Calc CD based on a non GCD duration 
			SpellFinish = SpellCDStart + SpellCDDuration
			NewSpellCD = SpellFinish - GetTime()
		else
			if (SpellFinish - GetTime() > 0) then		--check if finish is even relevant, if not cd = 0
				if (SpellFinish - (SpellCDStart + SpellCDDuration) - TimeFactor > 0) then
					NewSpellCD = 0
				else
					NewSpellCD = SpellFinish - GetTime()
				end
			else
				NewSpellCD = 0
			end
		end
		
	else
		NewSpellCD = 0
	end
	return NewSpellCD
end


function testSS()
	TimeFactor = 0.150
	SpellName = "Scourge Strike"
	

end

ScourgeStrikeFinish = GetTime()